﻿@inherits LayoutComponentBase

<style>
    #components-layout-demo-fixed .logo {
        width: 120px;
        height: 31px;
        background: rgba(255, 255, 255, 0.2);
        margin: 16px 24px 16px 0;
        float: left;
    }

</style>

<Layout>
    <Header Style="position: fixed; z-index: 1; width: 100%; ">
        <Menu Theme="MenuTheme.Dark" Mode="MenuMode.Horizontal" DefaultSelectedKeys=@(new[]{"1"})>
            <MenuItem Key="1" RouterLink="/index">
                <Icon Type="user" Theme="outline" />
                首页
            </MenuItem>
            <MenuItem Key="2" RouterLink="/total">
                <Icon Type="user" Theme="outline" />
                整体比较
            </MenuItem>
            <SubMenu Key="sub1">
                <TitleTemplate>
                    <Icon Type="user" Theme="outline" />
                    分区比较
                </TitleTemplate>
               <ChildContent>
                    <MenuItem Key="3" RouterLink="/inside/1">动画区</MenuItem>
                    <MenuItem Key="4" RouterLink="/inside/36">知识区</MenuItem>
                    <MenuItem Key="5" RouterLink="/inside/4">游戏区</MenuItem>
                    <MenuItem Key="6" RouterLink="/inside/160">生活区</MenuItem>
               </ChildContent>               
            </SubMenu>
        </Menu>
    </Header>
    <Content Class="site-layout" Style="padding:16px; margin-top: 64px; ">
            @Body
    </Content>
    <Footer Style="text-align: center;">DataAnalysis 2023 Created by ZMiner</Footer>
</Layout>




